﻿<%@ Control Language="C#" ClassName="ProductsClassFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataClassName" runat="server" Text="Class Name:" AssociatedControlID="dataClassName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClassName" Text='<%# Bind("ClassName") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataClassName" runat="server" Display="Dynamic" ControlToValidate="dataClassName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClassTitle" runat="server" Text="Class Title:" AssociatedControlID="dataClassTitle" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClassTitle" Text='<%# Bind("ClassTitle") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataClassTitle" runat="server" Display="Dynamic" ControlToValidate="dataClassTitle" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClassSort" runat="server" Text="Class Sort:" AssociatedControlID="dataClassSort" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClassSort" Text='<%# Bind("ClassSort") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataClassSort" runat="server" Display="Dynamic" ControlToValidate="dataClassSort" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataClassSort" runat="server" Display="Dynamic" ControlToValidate="dataClassSort" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsActive" runat="server" Text="Is Active:" AssociatedControlID="dataIsActive" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsActive" SelectedValue='<%# Bind("IsActive") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


